package jk.zmn.thread.pros;

/**
 * @author 张梦楠
 * @Title: ${file_name}
 * @Package ${package_name}
 * @Description: ${todo}
 * @date 2018/5/2619:47
 * @blog www.itzmn.com
 */
public class Player implements Runnable {

    private Movie movie;

    public Player(Movie movie) {
        this.movie = movie;
    }

    @Override
    public void run() {
        for (int i =1;i<=10;i++){
            movie.play("战狼"+i);
        }
    }
}
